//
//  PlayerInterfaceSprite.h
//  CandyCrushClone
//
//  Created by Petar on 4/3/15.
//  Copyright (c) 2015 Nestorov Engineering. All rights reserved.
//

#import <SpriteKit/SpriteKit.h>
#import "Player.h"

@interface PlayerInterfaceSprite : SKSpriteNode

@property (nonatomic) SKLabelNode *nameLabel;
@property (nonatomic) SKSpriteNode *turnIndicatorSprite;
@property (nonatomic) SKLabelNode *cookieType1CounterLabel;
@property (nonatomic) SKLabelNode *cookieType2CounterLabel;
@property (nonatomic) SKLabelNode *cookieType3CounterLabel;
@property (nonatomic) SKLabelNode *cookieType4CounterLabel;
@property (nonatomic) SKLabelNode *cookieType5CounterLabel;
@property (nonatomic) SKLabelNode *cookieType6CounterLabel;

@property (nonatomic) SKSpriteNode *cookieType1Sprite;
@property (nonatomic) SKSpriteNode *cookieType2Sprite;
@property (nonatomic) SKSpriteNode *cookieType3Sprite;
@property (nonatomic) SKSpriteNode *cookieType4Sprite;
@property (nonatomic) SKSpriteNode *cookieType5Sprite;
@property (nonatomic) SKSpriteNode *cookieType6Sprite;

@property (nonatomic) SKSpriteNode *heroFrameSprite;
@property (nonatomic) SKSpriteNode *heroSprite;

- (instancetype)initForLocalPlayer:(BOOL)isForLocalPlayer;
- (void)setHeroImageWithType:(NSInteger)heroType forLocalPlayer:(BOOL)isForLocalPlayer;
- (void)setPlayerInfoForPlayer:(Player *)player;
- (void)changeView;

@end
